package com.lxw.api.filesystem;

import com.lxw.framework.domain.filesystem.response.UploadFileResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

@Api(value="文件系统管理Controller",description = "负责文件管理增删改查等功能")
public interface FileSystemControllerApi {
    @ApiOperation("上传文件")
    @ApiImplicitParams({
            @ApiImplicitParam(value = "文件信息",name = "multipartFile",dataType = "MultipartFile",required = true),
            @ApiImplicitParam(value = "业务key",name = "businesskey",dataType = "String")
    })
    public UploadFileResult upload(MultipartFile multipartFile, String businesskey, String filetag, Map metadata);
}
